package com.deuwise.system.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.List;

/**
 * 视图配置
 *@author deuwise
 *@date 2020-06-08 17:22:30
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName("SYS_MAP_VIEWS")
public class SysMapViews extends Model<SysMapViews>  implements Serializable{
    /**主键标识*/
    @ApiModelProperty("主键标识")
    @TableField("id")
    private String id;

    /**视图名称*/
    @ApiModelProperty("视图名称")
    @TableField("name")
    private String name;

    /**视图类型名称*/
    @ApiModelProperty("视图类型名称")
    @TableField("type_name")
    private String typeName;

    /**视图内容*/
    @ApiModelProperty("视图配置内容")
    @TableField("view_center")
    private String viewCenter;

    /**基本地图配置*/
    @ApiModelProperty("基本地图配置")
    @TableField("basemap")
    private String baseMap;

    /**贴图属性*/
    @ApiModelProperty("贴图属性")
    @TableField("ground")
    private String ground;

    /**版本号*/
    @ApiModelProperty("版本号")
    @TableField("version")
    private String version;

    /**图层集合*/
    @ApiModelProperty("图层集合")
    @TableField(exist = false)
    private List<SysMapLayers> layers;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}